package com.jianyun.jyzs.model.imdoel;

/**
 * Created by yangshijun on 2018/8/1.
 */

public interface IUpdateEmailModel {

    /**
     * 修改邮箱
     * @param enterpriseCode
     * @param userId
     * @param email
     * @param onUpdateEmailListener
     */
    public void updataEmail(String enterpriseCode,String userId,String email,OnUpdateEmailListener onUpdateEmailListener);

    interface OnUpdateEmailListener{
        void onSuccess();
        void onFailed();
        void onException(String msg);
    }
}
